package com.recruit.service;

import com.recruit.pojo.User;
import com.recruit.utils.ResponseResult;
import org.springframework.ui.Model;

import javax.servlet.http.HttpSession;

public interface UserService {
    // 用户注册
    public ResponseResult doReg(User user,String code, HttpSession session);
    // 用户登录
    public ResponseResult doLogin(User user, HttpSession session);
    // 查找用户信息
    public String toUserInfo(HttpSession session,Model model);
    // 查找城市
    public ResponseResult findCityByParent(String parent);
    public ResponseResult updataUserInfo(User user);
}
